import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './router'
//按需引入ElementUI组件库
import { Button, Select } from 'element-ui';


Vue.config.productionTip = false

Vue.use(VueRouter)
// Vue.use(ElementUI)//应用ElementUI
//应用ElementUI
// Vue.component('el-button', Button);
// Vue.component('el-Select', Select);
/* 或写为 */
Vue.use(Button)
Vue.use(Select)

//
new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
